    <div id="content">
      <div id="slidpic">
        <script type="text/javascript" src="js/slidepic.js"></script>
      </div>
      <!--slidpic end-->
      
      <div id="netbarjoin">
        <div class="h1content">
          <h1><span>网吧加盟</span><em>NetBar Join</em><a class="more" href="#"></a></h1>
          <div class="h1content_mid">
            <dl id="netbarpostion">
           	<?foreach ($netbar as $row):?>
           	<?if(($row->has_bar)>0):?>
            <dd><a href="<?=site_url('netbar/area')."/".$row->area_id?>"><?=$row->area_name?></a></dd>
            <?else :?>
            <dd><a href="javascript:void(0);"><?=$row->area_name?></a></dd>
            <?endif;?>
          	<?endforeach;?> 
            </dl>
            <div id="netbarad"><a href="#"><img src="upload/ad_images/netbarad.jpg" width="281" height="65" /></a></div>
            <!--netbarad end-->
          </div>
          <div class="h1content_bot"></div>
        </div>
        <!--h1content end-->
      </div>
      <!--netbarjoin end-->
      
      <!--首页Flash广告-->
      <div class="ad tbanner01">
        <div class="ad">
          <object data="upload/ad_fs/tbanner01.swf" type="application/x-shockwave-flash" width="690" height="70">
            <param name="movie" value="upload/ad_fs/tbanner01.swf" />
            <embed src="upload/ad_fs/tbanner01.swf" width="690" height="70"></embed>
          </object>
        </div>
      </div>
      <!--tbanner01 end-->
      
     
      <div id="slidecontent">
        <div class="h1content">
          <div class="h1content_mid">
            <div id="newly">
              <!--Menu Part-->
              <h1 class="menubox_newly"> <span>角色代练</span><a class="more" href="#">更多</a>
                <ol>        
                <?foreach ($products_type as $row):?>
                <?if(($row->i)==1):?>
                <li id="newly<?=$row->i?>" class="hover"><a href="javascript:void(0)"><?=$row->type_name?></a></li>
                <?else :?>
                <li id="newly<?=$row->i?>"><a href="javascript:void(0)"><?=$row->type_name?></a></li>
                <?endif;?>
                <?endforeach;?>
                </ol>
                <!--Content Part-->
              </h1>
              <div class="content_newly">
              <?foreach ($products_type as $row):?>
                <div id="con_newly_<?=$row->i?>">
                <?if($row->has_products>0):?>
                 <?foreach ($products_type[($row->i)-1]->products as $prow):?>
                  <ul class="products" onclick="show_desc(<?=$row->i?>,<?=$prow->j?>);">
                    <li class="title"><a href="javascript:void(0)"><?=$prow->p_name?></a></li>
                    <li class="clock"><?=$prow->p_days?></li>
                    <li class="rmb"><?=$prow->price?></li>
                    <li class="buy"><a href="#">购买</a></li>
                   </ul>
                  <div id="pdesc<?=$row->i?><?=$prow->j?>" class="pdesc">
                  <?=nl2br($prow->p_desc)?>
                  </div>
                  <?endforeach;?> 
                  <?else :?>
                  <div class="empty_products">阿飞添加功能1：不好意思，暂无产品</div>
                  <?endif;?>
                </div><!--con_newly_1 end-->
              <?endforeach;?>  
              </div><!--content_newly end-->
            </div><!--newly end-->
          </div>
          <div class="h1content_bot"></div>
        </div>
        <!--h1content end-->
      </div>
      <!--slidecontent end-->
      <div class="ad tbanner02"><span class="ad tbanner02"><img src="upload/ad_images/banner02.jpg" width="690" height="85" /></span></div>
      <!--tbanner02 end-->
      <div class="h1content">
        <h1><span>热门套餐 </span><em>Hotest Combo</em><a class="more" href="#"></a></h1>
        <div class="h1content_mid">
        <?foreach ($hot_products as $prow):?>
          <ul class="products" onclick="show_desc(1,<?=$prow->j?>);">
            <li class="title"><a href="javascript:void(0)"><?=$prow->p_name?></a></li>
            <li class="clock"><?=$prow->p_days?></li>
            <li class="rmb"><?=$prow->price?></li>
            <li class="buy"><a href="#">购买</a></li>
           </ul>
          <div id="pdesc1<?=$prow->j?>" class="pdesc">
          <?=nl2br($prow->p_desc)?>
          </div>
 		<?endforeach;?> 
          
        </div>
        <div class="h1content_bot"></div>
      </div>
      <!--h1content end-->
    </div>
    <!--content end-->